home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwdel.dir / 00279_Script_279 < prev    next >
Text File  |  1994-11-15  |  3KB  |  132 lines

  1. on startMovie
  2.   global nowFrame
  3.   global horNess, currMM, dialogOn
  4.   set dialogOn = FALSE
  5.   set currMM = "FLWWW"
  6.   puppetSprite 22, TRUE
  7.   puppetSprite 23, TRUE
  8.   puppetSprite 21, TRUE
  9.   set the immediate of sprite 23 to TRUE
  10.   set the stretch of sprite 23 to FALSE
  11.   repeat with i = 12 to 16
  12.     puppetSprite i, TRUE
  13.     set the immediate of sprite i to TRUE
  14.   end repeat 
  15. end startMovie
  16.  
  17. on stepMovie
  18.   global nowFrame,currFrame
  19.   if nowFrame <> currFrame then
  20.     seeAlsoList
  21.     set currFrame = nowFrame
  22.   end if
  23. end stepMovie
  24.  
  25. on stopMovie
  26.   set the castNum of sprite 21 to 1050
  27.   puppetSprite 21, FALSE
  28.   put " " into field "SeeAlsoText"
  29.   updateStage
  30. end stopMovie
  31.  
  32. on saveLocals
  33.   global lastFrame, nowFrame, lastMovie
  34.   set lastFrame = nowFrame
  35.   set lastMovie = "FLWDEL"
  36. end saveLocals
  37.  
  38. on buttonState
  39.   global FrankNav, dialogOn
  40.   global bflag, noTx
  41.   
  42.   
  43.   if dialogOn = FALSE then
  44.     
  45.     sectionCheck
  46.     
  47.     -- don't check global buttons unless mouse is down at bottom
  48.     if (the mouseV > 200) or (bFlag = TRUE) then
  49.       doState
  50.       set bFlag = FALSE
  51.     end if
  52.     
  53.   else if dialogOn = TRUE then
  54.     if the mouseDown then
  55.       if the mouseCast <> the number of cast "glossDialog" then
  56.         beep
  57.       end if
  58.     end if
  59.   end if
  60.   
  61. end buttonState
  62.  
  63. on deBackStep
  64.   global nowFrame
  65.   puppetSprite 6, FALSE
  66.   if nowFrame = "de000lig001°°°" then
  67.     go to frame "de000acc030°°°" of movie "FLWDEA"
  68.   else
  69.     go to marker (- 1)
  70.   end if
  71. end deBackStep
  72.  
  73. on deForStep
  74.   global nowFrame
  75.   puppetSprite 6, FALSE
  76.   if nowFrame = "de000lig018°°°" then
  77.     go to frame "de000fur001°°°" of movie "FLWDEF"
  78.   else
  79.     go to marker (+ 1)
  80.   end if
  81. end deForStep
  82.  
  83. on sectionCheck
  84.   global dialogOn
  85.   if dialogOn = FALSE then
  86.     
  87.     if rollover(12) then
  88.       set the castNum of sprite 12 to A34
  89.     else
  90.       set the castNum of sprite 12 to A18
  91.     end if
  92.     
  93.     if rollover(14) then
  94.       set the castNum of sprite 14 to A31
  95.     else
  96.       set the castNum of sprite 14 to A15
  97.     end if
  98.     
  99.     if rollover(15) then
  100.       set the castNum of sprite 15 to A32
  101.     else
  102.       set the castNum of sprite 15 to A16
  103.     end if
  104.     
  105.     if rollover(16) then
  106.       set the castNum of sprite 16 to A33
  107.     else
  108.       set the castNum of sprite 16 to A17
  109.     end if
  110.     updateStage
  111.   end if
  112. end sectionCheck
  113.  
  114. on textRoll txHt
  115.   global origLocV, topHat, dialogOn, SeeAlsoBox
  116.   if dialogOn = FALSE and SeeAlsoBox = FALSE then
  117.     set topHat = txHt + (the height of sprite 6 / 2)
  118.     if the width of sprite 6 > 300 then
  119.       if the mouseH > 229 and the mouseV > 363 and the mouseV < 431 then
  120.         set the locV of sprite 6 to topHat
  121.       else if (the mouseH > 610) or (the mouseH < 229) or (the mouseV > 431) or (the mouseV < txHt) then
  122.         set the locV of sprite 6 to 485
  123.       end if
  124.     else 
  125.       if the mouseH > 414 and the mouseV > 363 and the mouseV < 431 then
  126.         set the locV of sprite 6 to topHat
  127.       else if the mouseH > 610 or the mouseH < 414 or the mouseV > 431 or the mouseV < txHt then
  128.         set the locV of sprite 6 to 549
  129.       end if
  130.     end if
  131.   end if
  132. end textRoll